<?php 
header('Content-Type:text/html;charset=gbk');
require_once("db_manage.php");
//require_once './bbs/include/common.inc.php';

$id = $_GET['id'];
$turn = $_GET['turn'];


//$travel = array($title,$area,$view,$bed,$traffic,$expense,$num,$costdate,$content,$discuz_uid);
//$dairy = array($title,$content,$textlink,$turn,$discuz_userss);

/*

for($i=0;$i<count($dairy);$i++){
				echo $dairy[$i];
				echo '<p>';			
			}
			*/
			
//update sister link;
//updateSisterLink($linkname, $link);
//addTravel($travel);
//echo "<script>location.href='manage_list_travel.php';<//script>";
turnDairy($id,$turn);
echo "<script>location.href='manage_home_diary.php';</script>";
?>